package com.ruoyi.system.domain;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 教师表对象 t_teacher
 *
 * @author bearzz
 * @date 2024-01-22
 */

@AllArgsConstructor
@NoArgsConstructor
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String name;

    /** 性别:0-女  1-男 */
    @Excel(name = "性别:0-女  1-男")
    private String sex;

    /** 科目id */
    @Excel(name = "科目id")
    private Long subjectId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String subjectName;

    /** 校区id */
    @Excel(name = "校区id")
    private Long campusId;

    /** 小区名称 */
    @Excel(name = "校区名称")
    private String campusName;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 帮扶优先级 */
    @Excel(name = "帮扶优先级")
    private Long assistPriority;

    /** 老师类型id */
    @Excel(name = "老师类型id")
    private Long typeId;

    /** 老师类型名称 */
    @Excel(name = "老师类型名称")
    private String typeName;

    /** 关联账号id */
    @Excel(name = "关联账号id")
    private Long linkAccountId;

    /** 关联账号 */
    @Excel(name = "关联账号")
    private String linkAccount;

    /** 是否是组长 0-不是 1-是 */
    @Excel(name = "是否是组长 0-不是 1-是")
    private String isSuperiorLeader;

    /** 上级组长id */
    @Excel(name = "上级组长id")
    private Long superiorLeaderId;

    /** 绩效类型id */
    @Excel(name = "绩效类型id")
    private Long performanceTypeId;

    /** 绩效类型名称 */
    @Excel(name = "绩效类型名称")
    private String performanceTypeName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setSubjectName(String subjectName)
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName()
    {
        return subjectName;
    }
    public void setCampusId(Long campusId)
    {
        this.campusId = campusId;
    }

    public Long getCampusId()
    {
        return campusId;
    }
    public void setCampusName(String campusName)
    {
        this.campusName = campusName;
    }

    public String getCampusName()
    {
        return campusName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAssistPriority(Long assistPriority)
    {
        this.assistPriority = assistPriority;
    }

    public Long getAssistPriority()
    {
        return assistPriority;
    }
    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId()
    {
        return typeId;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setLinkAccountId(Long linkAccountId)
    {
        this.linkAccountId = linkAccountId;
    }

    public Long getLinkAccountId()
    {
        return linkAccountId;
    }
    public void setLinkAccount(String linkAccount)
    {
        this.linkAccount = linkAccount;
    }

    public String getLinkAccount()
    {
        return linkAccount;
    }
    public void setIsSuperiorLeader(String isSuperiorLeader)
    {
        this.isSuperiorLeader = isSuperiorLeader;
    }

    public String getIsSuperiorLeader()
    {
        return isSuperiorLeader;
    }
    public void setSuperiorLeaderId(Long superiorLeaderId)
    {
        this.superiorLeaderId = superiorLeaderId;
    }

    public Long getSuperiorLeaderId()
    {
        return superiorLeaderId;
    }
    public void setPerformanceTypeId(Long performanceTypeId)
    {
        this.performanceTypeId = performanceTypeId;
    }

    public Long getPerformanceTypeId()
    {
        return performanceTypeId;
    }
    public void setPerformanceTypeName(String performanceTypeName)
    {
        this.performanceTypeName = performanceTypeName;
    }

    public String getPerformanceTypeName()
    {
        return performanceTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("sex", getSex())
                .append("subjectId", getSubjectId())
                .append("subjectName", getSubjectName())
                .append("campusId", getCampusId())
                .append("campusName", getCampusName())
                .append("phone", getPhone())
                .append("assistPriority", getAssistPriority())
                .append("typeId", getTypeId())
                .append("typeName", getTypeName())
                .append("linkAccountId", getLinkAccountId())
                .append("linkAccount", getLinkAccount())
                .append("isSuperiorLeader", getIsSuperiorLeader())
                .append("superiorLeaderId", getSuperiorLeaderId())
                .append("performanceTypeId", getPerformanceTypeId())
                .append("performanceTypeName", getPerformanceTypeName())
                .toString();
    }
}


